﻿using LightWadf.Filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Demo.Filter
{
    public class TestFilter2 : IFilter
    {
        public override object BeforeProcess(HttpContext context)
        {
            context.Response.Write("test before2 ");
            return null;
        }

        public override void AfterProcess(HttpContext context, ref object result)
        {
            result += " test after2";
        }
    }
}